//
//  JobCategoryTableViewCell.m
//  DIsciplineSelectPartner
//
//  Created by 唐秦崴 on 15/3/19.
//  Copyright (c) 2015年 Lizzy. All rights reserved.
//

#import "JobCategoryTableViewCell.h"

@interface JobCategoryTableViewCell()

@property (strong,nonatomic) IBOutlet UILabel* nameLabel;
@property (strong,nonatomic) IBOutlet UIImageView* imageView_1;
@property (strong,nonatomic) IBOutlet UIImageView* imageView_2;

@end

@implementation JobCategoryTableViewCell

- (void)awakeFromNib {
    // Initialization code
    
    //自动折行设置
    self.nameLabel.numberOfLines = 0;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void) setName:(NSString *)name
{
    if (![name isEqualToString:_name]) {
        _name = [name copy];
        self.nameLabel.text = name;
    }
}

- (void) setImageNameString_1:(NSString *)imageNameString_1
{
    self.imageView_1.image = [UIImage imageNamed:imageNameString_1];
}
- (void) setImageNameString_2:(NSString *)imageNameString_2
{
    self.imageView_2.image = [UIImage imageNamed:imageNameString_2];
}

@end
